package com.jjwxc.jwjskandriod.model;

import java.util.List;

public class GifListResponse {

    /**
     * code : 200
     * message : 操作成功
     * data : [{"giftId":"1","name":"地雷","price":100},{"giftId":"2","name":"手榴弹","price":500},{"giftId":"3","name":"火箭炮","price":1000},{"giftId":"4","name":"潜水炸弹","price":5000},{"giftId":"5","name":"深水鱼雷","price":10000}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * giftId : 1
         * name : 地雷
         * price : 100
         */

        private String giftId;
        private String name;
        private int price;

        private boolean select;

        public String getGiftId() {
            return giftId;
        }

        public void setGiftId(String giftId) {
            this.giftId = giftId;
        }

        public boolean isSelect() {
            return select;
        }

        public void setSelect(boolean select) {
            this.select = select;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }
    }
}
